﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JMY_Models;
namespace JMY_IDAL
{
   public interface DocLoginIDAL:JMY_IBaseDAL<T_Doc_Logins_Model>
    {
        /// <summary>
        /// 定义管理员登录
        /// </summary>
        /// <param name="LogPhone"></param>
        /// <param name="LogPwd"></param>
        /// <returns></returns>
        int DocLogins(string LogName,string LogPwd);



       /// <summary>
       /// 显示管理人员信息
       /// </summary>
       /// <returns></returns>
        List<T_Doc_Logins_Model> DocGuanLiYuanShow();

       /// <summary>
       /// 添加管理员
       /// </summary>
       /// <param name="name"></param>
       /// <param name="pwd"></param>
       /// <returns></returns>
        int DocGuanLiYuanAdd(string name, string pwd);

       /// <summary>
       /// 删除管理员
       /// </summary>
       /// <param name="id"></param>
       /// <returns></returns>
        int DocGuanLiYuanDel(int id);

       /// <summary>
       /// 反填管理员数据
       /// </summary>
       /// <param name="id"></param>
       /// <returns></returns>
        List<T_Doc_Logins_Model> DocGuanLiYuanUpt(int id);
       /// <summary>
       /// 修改管理员数据
       /// </summary>
       /// <param name="m"></param>
       /// <returns></returns>
        int DocGuanLiYuanUpt2(T_Doc_Logins_Model m);
    }
}
